package com.jic.member.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.member.entity.MememberRegisterConsume;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员等级管理-注册赠送-消费抵现表
 * @author : 
 * @email : 
 * @since : 2020-04-02 07:54:47
 * @version : v1.0.0
 */
@Mapper
public interface  MememberRegisterConsumeMapper {

    long insert(MememberRegisterConsume mememberRegisterConsume);

    long delete(Long id);

    long update(MememberRegisterConsume mememberRegisterConsume);

    MememberRegisterConsume queryByPrimaryKey(Long id);

    List<MememberRegisterConsume> query(MememberRegisterConsume mememberRegisterConsume);

    List<MememberRegisterConsume> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mememberRegisterConsume") MememberRegisterConsume mememberRegisterConsume);

    long queryPageCount(MememberRegisterConsume mememberRegisterConsume);
}